Ext.define('AmpleHarvest.objects.harvestrequest.view.toolbar.Top',
{
   extend   : 'Ext.toolbar.Toolbar',
   alias    : 'widget.hr_toolbar_top',
   requires :
   [
         "AmpleHarvest.eventHandler.cWindowEvents", 
         "Ext.button.Button"
   ],
   items    :
   [
         {
            iconCls  : "toolbar-harvest-add-icon",
            text  : "Request Harvest",
            handler  : function()
            {
            	m_obj_AmpleHarvest_ViewPort.fireEvent(AmpleHarvest.eventHandler.cWindowEvents.C_STR_EVENT_HR_ADD,"", true);
            },
            scope : this
         }
   ]

});
